<script setup>
import { ref } from 'vue'

console.log('setup钩子运行了')
console.log(this) // undefined
const money = ref(14000)

const btn = () => {
  money.value += 1000
}
</script>

<template>
  <h1>Hello Vue3</h1>
  <h2>{{ money }}</h2>
  <button @click="btn">点击涨1000</button>
</template>
